package com.czk.gulimall.seckill.feign;

import com.czk.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author:ChenZhangKun
 * @Date: 2022/6/16 21:42
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {
    @RequestMapping("/peroduct/skuinfo/info/{skuId}")
    //@RequiresPermissions("product:skuinfo:info")
    R info(@PathVariable("skuId") Long skuId);
}
